package licode.unisop.client.info;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 定义角色的验证信息
 *
 * @author licode
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SiAuthorityAction {
    /**
     * 角色码
     */
    private String roles;

    /**
     * 权限码
     */
    private String permits;

    /**
     * 角色和权限是否全部判断
     */
    private boolean all;

    private boolean allRole;
    private boolean allPermit;
}
